
[#macro orderrefundShowView]
<div  class="model-form">
    <el-page-header @back="goBack" content="详情">
    </el-page-header>

        <div class="form-title">详细信息</div>
        <el-form class="viewForm" label-width="80px">
            <el-col :span="12">
                <el-form-item label="退款单号">
                    <div v-html="viewModel.no"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="退款金额">
                    <div v-html="viewModel.money"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="商家退款金额">
                    <div v-html="viewModel.shopMoney"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="平台退款金额">
                    <div v-html="viewModel.platformMoney"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="退款原因">
                    <div v-html="viewModel.reason"></div>
                </el-form-item>
            </el-col>
        </el-form>

</div>
[/#macro]
[#macro orderrefundShowConfig]
<script type="text/x-template" id="my-orderrefund-show">
    [@orderrefundShowView /]
</script>
	<script type="text/javascript">
		//显示组件开始
		var orderrefundShowConfig = {};
		orderrefundShowConfig.template = "#my-orderrefund-show";
		orderrefundShowConfig.methods =config.basicMethod();
		orderrefundShowConfig.data = function () {
			return {
				viewModel: {
				},
				activeIndex: "1"
			}
		};


		orderrefundShowConfig.mounted = function () {
			var id = this.$route.query.id;
			var self = this;
			var data = {};
			data.id = id;
			this.postData("${siteurl}tenantRest/orderrefund/view.htm", data, function (res) {
				if (res.code == 0) {
					self.viewModel = res;

				}
			});
		}
		var orderrefundShowView = Vue.component('my-orderrefund-view', orderrefundShowConfig);
		//显示组件结束		
	</script>
[/#macro]


